public class Stu {
    private String name;
    private int old;
    private String ID;


    public Stu(String name, int old,String ID) {
        this.name = name;
        this.old = old;
        this.ID=ID;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOld() {
        return old;
    }

    public void setOld(int old) {
        this.old = old;
    }

    @Override
    public String toString() {
        return "Stu{" +
                "name='" + name + '\'' +
                ", old=" + old +
                '}';
    }
}
